package xyz.gzdxc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

import java.util.Arrays;

@SpringBootApplication
public class XintHantApplication
{
    private static final Logger LOG = LoggerFactory.getLogger(XintHantApplication.class);

    public static void main( String[] args )
    {
        ApplicationContext applicationContext = SpringApplication.run(XintHantApplication.class, args);
        String[] beanNames = applicationContext.getBeanDefinitionNames();
        Arrays.sort(beanNames);
        for (String beanName: beanNames) {
            LOG.info("bean => {}", beanName);
        }
        LOG.info("XintHantApplication started");
    }


}
